package view;
import java.util.Observer;
import java.util.Observable;

import javax.swing.JPanel;

public class DeliveryFormContainer extends JPanel implements Observer{
	
	private static final long serialVersionUID = 1L;
	
	public DeliveryFormContainer(Observable obs){
		obs.addObserver(this);
	}
	
	public void update(Observable obs, Object obj){
		Boolean visibilityState = (Boolean)obj;
		setVisible(visibilityState);
	}
}
